﻿<%@ Page Language="C#" CodeBehind="BlackMarkets.aspx.cs" Inherits="BikeBouncer.Site.BlackMarkets_aspx" MasterPageFile="/MainLayout.master" %>
<%@ Register TagPrefix="artem" Namespace="Artem.Google.UI" Assembly="Artem.Google" %>
<asp:Content ContentPlaceHolderID="MainContents" runat="server">
	<p>
		<asp:Literal meta:resourcekey="LitIntroduction" runat="server" />
	</p>
	<asp:Panel ID="PanSuggestSaved" CssClass="PanelOk Ok" runat="server">
		<asp:Label ID="LblSuggestSaved" runat="server" />
	</asp:Panel>
	<div id="DashboardBlackMarkets">
		<asp:HyperLink ID="LinkSuggest" NavigateUrl="#" CssClass="LinkReportBlackMarket" meta:resourcekey="LinkSuggest" runat="server" />
		<asp:UpdatePanel RenderMode="Inline" UpdateMode="Conditional" runat="server">
			<ContentTemplate>
				<asp:TextBox ID="TxtSearch" CssClass="FormText" Width="250px" meta:resourcekey="TxtSearch" runat="server" />
				<asp:ImageButton ID="ImgSearch" ImageUrl="/Images/Ico/Search24.png" CausesValidation="false" ImageAlign="Middle" OnClick="ImgSearch_Click" meta:resourcekey="ImgSearch" runat="server" />
			</ContentTemplate>
		</asp:UpdatePanel>
	</div>
	<asp:UpdatePanel RenderMode="Inline" UpdateMode="Conditional" runat="server">
		<ContentTemplate>
			<div id="ModalContainer">
				<div id="DivSuggest" class="ModalPopup">
					<p>
						<asp:Literal meta:resourcekey="LitSuggestInfo" runat="server" />
					</p>
					<div class="PanelForm">
						<asp:Label AssociatedControlID="TxtSuggestTitle" meta:resourcekey="LblSuggestTitle" runat="server" />
						<asp:TextBox ID="TxtSuggestTitle" CssClass="FormText" Width="220px" meta:resourcekey="TxtSuggestTitle" runat="server" />
						<asp:RequiredFieldValidator ID="ReqTxtSuggestTitle" ControlToValidate="TxtSuggestTitle" Display="Dynamic" Text="*" meta:resourcekey="ReqTxtSuggestTitle" runat="server" />
						<br />
						<asp:Label AssociatedControlID="TxtSuggestPostcode" meta:resourcekey="LblSuggestPostcode" runat="server" />
						<asp:TextBox ID="TxtSuggestPostcode" CssClass="FormText" Width="100px" meta:resourcekey="TxtSuggestPostcode" runat="server" />
						<br />
						<asp:Label AssociatedControlID="TxtSuggestLocation" meta:resourcekey="LblSuggestLocation" runat="server" />
						<asp:TextBox ID="TxtSuggestLocation" CssClass="FormText" Width="220px" meta:resourcekey="TxtSuggestLocation" runat="server" />
						<br />
						<asp:Label AssociatedControlID="TxtSuggestCity" meta:resourcekey="LblSuggestCity" runat="server" />
						<asp:TextBox ID="TxtSuggestCity" CssClass="FormText" Width="220px" meta:resourcekey="TxtSuggestCity" runat="server" />
						<asp:AutoCompleteExtender ID="AutoComplete_TxtSuggestCity" runat="server"
										  ServiceMethod="AutoComplete_City"
										  TargetControlID="TxtSuggestCity" />
					</div>
					<div class="PanelButtons">
						<asp:Button ID="ButSuggestSend" CssClass="FormButton" OnClick="ButSuggestSend_Click" meta:resourcekey="ButSuggestSend" runat="server" />
					</div>
				</div>
			</div>

			<div id="MapBlackMarkets">
				<artem:GoogleMap ID="Maps" Width="100%" Height="400px" runat="server" />
			</div>
		</ContentTemplate>
	</asp:UpdatePanel>
	<script type="text/javascript">
		$("[id$='_LinkSuggest']").colorbox({ width: "600px", inline: true, href: "#DivSuggest" });
	</script>
</asp:Content>